<form id="form-permission" class="form-horizontal">
	<div class="form-group ">
		<input type="hidden" id="permission-uuid" name="permission.uuid" value="${permission.uuid}"/>
		<input type="hidden" id="permission-type" name="permission.type" value="${isEmpty(type) ? permission.type : type}"/>
		<label class="control-label col-xs-3" for="permission-name">权限名称：</label>
		<div class="col-xs-9">
			<input dataValid="*"	type="text" class="form-control input-sm" 
					id="permission-name" name="permission.name"
					value="${permission.name}" placeholder="权限名称" />
		</div>
	</div>
	<div class="form-group ">
		<label class="control-label col-xs-3" for="permission-code">权限资源：</label>
		<div class="col-xs-9">
			<x:select models="${relation}" field="uuid,name" value="${relationId!''}"
				id="relationId" name="relationId"
				class="chosen-select form-control" >
			</x:select>
		</div>
	</div>
	<div class="form-group ">
		<label class="control-label col-xs-3" for="permission-code">权限编码：</label>
		<div class="col-xs-9">
			<input dataValid="*" type="text" class="form-control input-sm"
					id="permission-code" name="permission.code"
					value="${permission.code}" placeholder="权限编码">
		</div>
	</div>
	<div class="form-group ">
		<label class="control-label col-xs-3" for="permission-sorting">权限路径：</label>
		<div class="col-xs-9">
			<input dataValid="*" type="text" class="form-control input-sm" 
					id="permission-url" name="permission.url" 
					value="${permission.url}" placeholder="权限路径">
		</div>
	</div>
	<div class="form-group ">
		<label class="control-label col-xs-3" for="permission-available">权限状态：</label>
		<div class="col-xs-9">
			<x:select models="${dictSel('ST-STATUS')}"
				field="value,name" value="${permission.available}"
				id="permission-available" name="permission.available"
				class="chosen-select form-control" >
			</x:select>
		</div>
	</div>
</form>